package com.rong.shop.service;

import com.rong.shop.pojo.Address;
import com.rong.shop.pojo.Cart;
import com.rong.shop.pojo.vo.CartVO;

import java.util.List;

public interface ICartService {

    public List<CartVO> findByUid(Integer uid);

    public List<CartVO> findByCids(Integer[] cids, Integer uid);

    public void addCart(Integer uid, Integer pid, Integer amount, String username);

    public Integer addNum(Integer cid, Integer uid, String username);

    public Integer reduceNum(Integer cid, Integer uid, String username);

}
